package annotations;

import java.lang.reflect.Field;

import javax.swing.JTextArea;

public class LongStringAnnotationProvider implements LongStringProvider{
	@Override
	public JTextArea longString(Field field) {
		JTextArea textArea = new JTextArea();
		textArea.setEditable(false);
		return textArea;
	}

	@Override
	public boolean gotLongString(Field field) {
		return field.isAnnotationPresent(LongString.class);
	}
}
